package com.ccb.jyzx.expand.tiantouonline.dao;

import com.ccb.jyzx.expand.tiantouonline.bean.DictGroup;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @projectName: extend
 * @author: jianghaolin
 * @date: 2019/11/19
 * @version: 1.0
 */
@Repository
public interface DictGroupDao extends BaseDao<DictGroup> {

    /**
     * 统计
     * @param groupName
     * @return
     */
    int findTotleCount(@Param("groupName") String groupName);

    /**
     * 分页查询
     * @param startSearch
     * @param pageSize
     * @param groupName
     * @return
     */
    List<DictGroup> findByPage(@Param("startSearch") int startSearch, @Param("pageSize") Integer pageSize,@Param("groupName") String groupName);
}
